<template>
    <div style="height: 100%;padding-bottom: 10px;">
      <iframe :src="src" style="width: 100%;height: 100%;"></iframe>
  
    </div>
  </template>
  
  <script lang="ts" setup>
  import { ref } from 'vue'
  import { sendRequest } from '@/utils/api'
  
  // 获取数字运维中心路径
  const src = ref(undefined)
  const singleLogin = async () => {
    const [error, res] = await sendRequest({
      module: 'sys',
      api: 'singleLogin'
    })
    if (error) return
    if (res.code != 0) return
    src.value = res.data
  }
  singleLogin()
  </script>
  
  <style scoped lang="scss"></style>